package com.cainiao.pojo;

/**
 * 订单购买支付预减库存表
 * order_goods_skuStock
 * 数据库表：order_goods_sku_stock
 */
public class order_goods_skuStock {

    /**
     * 
     * 表字段 : order_goods_sku_stock.id
     */
    private Integer id;

    /**
     * 用户ID
     * 表字段 : order_goods_sku_stock.user_id
     */
    private Integer userId;

    /**
     * 商品ID
     * 表字段 : order_goods_sku_stock.goods_id
     */
    private Integer goodsId;

    /**
     * 商品SKU ID
     * 表字段 : order_goods_sku_stock.goods_sku_id
     */
    private Integer goodsSkuId;

    /**
     * 订单ID
     * 表字段 : order_goods_sku_stock.order_id
     */
    private Integer orderId;

    /**
     * 购买数量
     * 表字段 : order_goods_sku_stock.num
     */
    private Integer num;

    /**
     * 剩余库存数量
     * 表字段 : order_goods_sku_stock.stock_num
     */
    private Integer stockNum;

    /**
     * 状态 0失效 1生效
     * 表字段 : order_goods_sku_stock.status
     */
    private Boolean status;

    /**
     * 记录时间
     * 表字段 : order_goods_sku_stock.create_time
     */
    private Integer createTime;

    /**
     * 商品总库存
     * 表字段 : order_goods_sku_stock.goods_nums
     */
    private Integer goodsNums;

    /**
     * 获取  字段:order_goods_sku_stock.id
     *
     * @return order_goods_sku_stock.id, 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置  字段:order_goods_sku_stock.id
     *
     * @param id the value for order_goods_sku_stock.id, 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取 用户ID 字段:order_goods_sku_stock.user_id
     *
     * @return order_goods_sku_stock.user_id, 用户ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置 用户ID 字段:order_goods_sku_stock.user_id
     *
     * @param userId the value for order_goods_sku_stock.user_id, 用户ID
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取 商品ID 字段:order_goods_sku_stock.goods_id
     *
     * @return order_goods_sku_stock.goods_id, 商品ID
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置 商品ID 字段:order_goods_sku_stock.goods_id
     *
     * @param goodsId the value for order_goods_sku_stock.goods_id, 商品ID
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取 商品SKU ID 字段:order_goods_sku_stock.goods_sku_id
     *
     * @return order_goods_sku_stock.goods_sku_id, 商品SKU ID
     */
    public Integer getGoodsSkuId() {
        return goodsSkuId;
    }

    /**
     * 设置 商品SKU ID 字段:order_goods_sku_stock.goods_sku_id
     *
     * @param goodsSkuId the value for order_goods_sku_stock.goods_sku_id, 商品SKU ID
     */
    public void setGoodsSkuId(Integer goodsSkuId) {
        this.goodsSkuId = goodsSkuId;
    }

    /**
     * 获取 订单ID 字段:order_goods_sku_stock.order_id
     *
     * @return order_goods_sku_stock.order_id, 订单ID
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 设置 订单ID 字段:order_goods_sku_stock.order_id
     *
     * @param orderId the value for order_goods_sku_stock.order_id, 订单ID
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取 购买数量 字段:order_goods_sku_stock.num
     *
     * @return order_goods_sku_stock.num, 购买数量
     */
    public Integer getNum() {
        return num;
    }

    /**
     * 设置 购买数量 字段:order_goods_sku_stock.num
     *
     * @param num the value for order_goods_sku_stock.num, 购买数量
     */
    public void setNum(Integer num) {
        this.num = num;
    }

    /**
     * 获取 剩余库存数量 字段:order_goods_sku_stock.stock_num
     *
     * @return order_goods_sku_stock.stock_num, 剩余库存数量
     */
    public Integer getStockNum() {
        return stockNum;
    }

    /**
     * 设置 剩余库存数量 字段:order_goods_sku_stock.stock_num
     *
     * @param stockNum the value for order_goods_sku_stock.stock_num, 剩余库存数量
     */
    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    /**
     * 获取 状态 0失效 1生效 字段:order_goods_sku_stock.status
     *
     * @return order_goods_sku_stock.status, 状态 0失效 1生效
     */
    public Boolean getStatus() {
        return status;
    }

    /**
     * 设置 状态 0失效 1生效 字段:order_goods_sku_stock.status
     *
     * @param status the value for order_goods_sku_stock.status, 状态 0失效 1生效
     */
    public void setStatus(Boolean status) {
        this.status = status;
    }

    /**
     * 获取 记录时间 字段:order_goods_sku_stock.create_time
     *
     * @return order_goods_sku_stock.create_time, 记录时间
     */
    public Integer getCreateTime() {
        return createTime;
    }

    /**
     * 设置 记录时间 字段:order_goods_sku_stock.create_time
     *
     * @param createTime the value for order_goods_sku_stock.create_time, 记录时间
     */
    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取 商品总库存 字段:order_goods_sku_stock.goods_nums
     *
     * @return order_goods_sku_stock.goods_nums, 商品总库存
     */
    public Integer getGoodsNums() {
        return goodsNums;
    }

    /**
     * 设置 商品总库存 字段:order_goods_sku_stock.goods_nums
     *
     * @param goodsNums the value for order_goods_sku_stock.goods_nums, 商品总库存
     */
    public void setGoodsNums(Integer goodsNums) {
        this.goodsNums = goodsNums;
    }
}